<%@ Page Language="VB" MasterPageFile="~/MasterPageExpandable.master" AutoEventWireup="false" CodeFile="broadcastMessage.aspx.vb" Inherits="SB_broadcastMessage" title="Broadcast Message" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

        <table border="0" cellpadding="3" cellspacing="0" width="800">
            <tr><td colspan="2">
            <span style="font-family:MS Sans Serif, Arial, Verdana, Sans-Serif; font-size: 1em; font-weight:bold; color:#21334B;">Broadcast a Message</span>
            </td></tr>
            <tr>
                <td style="width:10%" align="right" valign="top">
                    <asp:Label ID="RoleListLabel" runat="server" CssClass="formLabel" Text="To: " AssociatedControlID="RoleCheckBoxList"></asp:Label>
                </td>
                <td style="width:90%" align="left" valign="top">
                    <asp:CheckBoxList Font-Names="ms sans serif,arial,verdana,helvetica,sans-serif;" Font-Size=".80em" ID="RoleCheckBoxList" runat="server" DataSourceID="RolesObjectDataSource"
                        DataTextField="RoleDisplayName"  Width="720px" DataValueField="RoleId" RepeatColumns="5" RepeatDirection="Horizontal">
                    </asp:CheckBoxList>
                </td>
            </tr>
            <tr>
                <td style="width:10%" align="right" valign="top">
                    <asp:Label ID="SubjectLabel" runat="server" CssClass="formLabel" Text="Subject: " AssociatedControlID="SubjectTextBox"></asp:Label>
                </td>
                <td style="width:90%" align="left" valign="top">
                    <asp:TextBox ID="SubjectTextBox" runat="server" Width="700px"></asp:TextBox><br />
                </td>
            </tr>
            <tr>
                <td style="width:10%" align="right" valign="top">
                    <asp:Label ID="MessageTextLabel" runat="server" CssClass="formLabel" Text="Message: " AssociatedControlID="MessageTextBox"></asp:Label>
                </td>
                <td style="width:90%" align="left" valign="top">
                    <asp:TextBox ID="MessageTextBox" runat="server" Width="700px" Rows="6" TextMode="multiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width:10%" align="right" valign="top">
                </td>
                <td style="width:90%" align="left" valign="top">
                  <asp:Panel ID="MessagePanel" Height="200px" runat="server" ScrollBars="Auto">
                    <asp:Label ID="MessageLabel" runat="server" ForeColor="Firebrick" Visible="false"></asp:Label>
                    </asp:Panel>
                </td>
            </tr>
            <tr><td colspan="2" align="center"><asp:Button ID="SendButton" runat="server" Text="Send" /></td></tr>
        </table>
 
            <asp:ObjectDataSource ID="RolesObjectDataSource" DataObjectTypeName="Cdm.DataCore.UserSecurity.Role" 
        TypeName="Cdm.DataCore.UserSecurity.Role" SelectMethod="ListBySort" runat="server" SortParameterName="sortExpr">
    </asp:ObjectDataSource>
    
</asp:Content>

